package com.zhang.Builder.example;

import java.util.ArrayList;

/**
 * @author ElloeStudy(Sifa Zhang)
 * @create 2022-03-04 16:36
 * To: 真常应物，真常得性，常清常静，常清静矣
 */
public class Client {
    public static void main(String[] args) {
        BenzModel benzModel = new BenzModel();
        ArrayList<String> sequence = new ArrayList<>();  // 存放run的顺序
        sequence.add("engineboom");    // 客户的要求
        sequence.add("start");
        sequence.add("stop");
        benzModel.setSequence(sequence);
        benzModel.run();
    }
}
